package top.oauth2.entity.security;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import top.oauth2.entity.common.BaseBean;

/**
 * 用户表
 * @author xphu
 * @version 1.0
 * @date 2021/8/27 15:38
 */
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("user")
public class User extends BaseBean {
    /**
     * 用户名
     */
    private String username;

    /**
     * phone
     */
    private String phone;

    /**
     * 密码
     */
    private String password;
    /**
     * 昵称
     */
    private String nickName;
    /**
     * 头像
     */
    private String headPortrait;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 状态(0:禁止,1:正常)
     */
    private Integer status;
}
